package com.distributeredis.redis_springboot.springcache.mapper;

import com.distributeredis.redis_springboot.springcache.vo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {
    void save(User user);

    int removeById(Long id);

    int updateById(User user);

    User getById(Long id);
}
